package com.ideal.frame.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * @Author: jin
 * @CreateTime: 2019-11-04 10:45
 * @Description: 基础实体类
 */
@MappedSuperclass
@Getter
@Setter
public class BaseAutoModel extends AutoModel {
    private Date createTime;
    private Date modifyTime;
    private Long createUser;
    private Long modifyUser;
    private boolean delFlag;

    public BaseAutoModel() {
    }

    public BaseAutoModel(Long id) {
        this.setId(id);
    }
}
